package com.caldremch.androidfoundation.base;


/**
 *
 * @author Caldremch
 * @date 2018/11/3
 * @Email caldremch@163.com
 * @describe 契约类 , 关联Present层和View层
 *
 **/
public class BaseContract {


    /**
     * @param <T> View
     */
    public interface BasePresenter<T extends BaseContract.BaseView> {

        void onAttachView(T view);

        void onDetachView();

    }

    /**
     * View
     */
    public interface BaseView {
    }


}
